package com.bjsxt.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bjsxt.domain.CoinType;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @date:2022/1/13 20:50
* @author:yang
*/
public interface CoinTypeService extends IService<CoinType>{


        /**
         * 分页查询货币类型
         * @param page
         * @param code
         * @return
         */
        Page<CoinType> findByPage(Page<CoinType> page, String code);

        /**
         * 查询所有币种类型
         * @param status
         * @return
         */
        List<CoinType> listByStatus(Byte status);
    }
